package com.dcits.account.entity.po;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BillEntityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BillEntityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdIsNull() {
            addCriterion("organizer_id is null");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdIsNotNull() {
            addCriterion("organizer_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdEqualTo(Integer value) {
            addCriterion("organizer_id =", value, "organizerId");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdNotEqualTo(Integer value) {
            addCriterion("organizer_id <>", value, "organizerId");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdGreaterThan(Integer value) {
            addCriterion("organizer_id >", value, "organizerId");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("organizer_id >=", value, "organizerId");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdLessThan(Integer value) {
            addCriterion("organizer_id <", value, "organizerId");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdLessThanOrEqualTo(Integer value) {
            addCriterion("organizer_id <=", value, "organizerId");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdIn(List<Integer> values) {
            addCriterion("organizer_id in", values, "organizerId");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdNotIn(List<Integer> values) {
            addCriterion("organizer_id not in", values, "organizerId");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdBetween(Integer value1, Integer value2) {
            addCriterion("organizer_id between", value1, value2, "organizerId");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("organizer_id not between", value1, value2, "organizerId");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andRecipientIdIsNull() {
            addCriterion("recipient_id is null");
            return (Criteria) this;
        }

        public Criteria andRecipientIdIsNotNull() {
            addCriterion("recipient_id is not null");
            return (Criteria) this;
        }

        public Criteria andRecipientIdEqualTo(Integer value) {
            addCriterion("recipient_id =", value, "recipientId");
            return (Criteria) this;
        }

        public Criteria andRecipientIdNotEqualTo(Integer value) {
            addCriterion("recipient_id <>", value, "recipientId");
            return (Criteria) this;
        }

        public Criteria andRecipientIdGreaterThan(Integer value) {
            addCriterion("recipient_id >", value, "recipientId");
            return (Criteria) this;
        }

        public Criteria andRecipientIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("recipient_id >=", value, "recipientId");
            return (Criteria) this;
        }

        public Criteria andRecipientIdLessThan(Integer value) {
            addCriterion("recipient_id <", value, "recipientId");
            return (Criteria) this;
        }

        public Criteria andRecipientIdLessThanOrEqualTo(Integer value) {
            addCriterion("recipient_id <=", value, "recipientId");
            return (Criteria) this;
        }

        public Criteria andRecipientIdIn(List<Integer> values) {
            addCriterion("recipient_id in", values, "recipientId");
            return (Criteria) this;
        }

        public Criteria andRecipientIdNotIn(List<Integer> values) {
            addCriterion("recipient_id not in", values, "recipientId");
            return (Criteria) this;
        }

        public Criteria andRecipientIdBetween(Integer value1, Integer value2) {
            addCriterion("recipient_id between", value1, value2, "recipientId");
            return (Criteria) this;
        }

        public Criteria andRecipientIdNotBetween(Integer value1, Integer value2) {
            addCriterion("recipient_id not between", value1, value2, "recipientId");
            return (Criteria) this;
        }

        public Criteria andBalanceIsNull() {
            addCriterion("balance is null");
            return (Criteria) this;
        }

        public Criteria andBalanceIsNotNull() {
            addCriterion("balance is not null");
            return (Criteria) this;
        }

        public Criteria andBalanceEqualTo(BigDecimal value) {
            addCriterion("balance =", value, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceNotEqualTo(BigDecimal value) {
            addCriterion("balance <>", value, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceGreaterThan(BigDecimal value) {
            addCriterion("balance >", value, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("balance >=", value, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceLessThan(BigDecimal value) {
            addCriterion("balance <", value, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("balance <=", value, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceIn(List<BigDecimal> values) {
            addCriterion("balance in", values, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceNotIn(List<BigDecimal> values) {
            addCriterion("balance not in", values, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("balance between", value1, value2, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("balance not between", value1, value2, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceUnitIsNull() {
            addCriterion("balance_unit is null");
            return (Criteria) this;
        }

        public Criteria andBalanceUnitIsNotNull() {
            addCriterion("balance_unit is not null");
            return (Criteria) this;
        }

        public Criteria andBalanceUnitEqualTo(String value) {
            addCriterion("balance_unit =", value, "balanceUnit");
            return (Criteria) this;
        }

        public Criteria andBalanceUnitNotEqualTo(String value) {
            addCriterion("balance_unit <>", value, "balanceUnit");
            return (Criteria) this;
        }

        public Criteria andBalanceUnitGreaterThan(String value) {
            addCriterion("balance_unit >", value, "balanceUnit");
            return (Criteria) this;
        }

        public Criteria andBalanceUnitGreaterThanOrEqualTo(String value) {
            addCriterion("balance_unit >=", value, "balanceUnit");
            return (Criteria) this;
        }

        public Criteria andBalanceUnitLessThan(String value) {
            addCriterion("balance_unit <", value, "balanceUnit");
            return (Criteria) this;
        }

        public Criteria andBalanceUnitLessThanOrEqualTo(String value) {
            addCriterion("balance_unit <=", value, "balanceUnit");
            return (Criteria) this;
        }

        public Criteria andBalanceUnitLike(String value) {
            addCriterion("balance_unit like", value, "balanceUnit");
            return (Criteria) this;
        }

        public Criteria andBalanceUnitNotLike(String value) {
            addCriterion("balance_unit not like", value, "balanceUnit");
            return (Criteria) this;
        }

        public Criteria andBalanceUnitIn(List<String> values) {
            addCriterion("balance_unit in", values, "balanceUnit");
            return (Criteria) this;
        }

        public Criteria andBalanceUnitNotIn(List<String> values) {
            addCriterion("balance_unit not in", values, "balanceUnit");
            return (Criteria) this;
        }

        public Criteria andBalanceUnitBetween(String value1, String value2) {
            addCriterion("balance_unit between", value1, value2, "balanceUnit");
            return (Criteria) this;
        }

        public Criteria andBalanceUnitNotBetween(String value1, String value2) {
            addCriterion("balance_unit not between", value1, value2, "balanceUnit");
            return (Criteria) this;
        }

        public Criteria andAdminIdIsNull() {
            addCriterion("admin_id is null");
            return (Criteria) this;
        }

        public Criteria andAdminIdIsNotNull() {
            addCriterion("admin_id is not null");
            return (Criteria) this;
        }

        public Criteria andAdminIdEqualTo(Integer value) {
            addCriterion("admin_id =", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdNotEqualTo(Integer value) {
            addCriterion("admin_id <>", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdGreaterThan(Integer value) {
            addCriterion("admin_id >", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("admin_id >=", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdLessThan(Integer value) {
            addCriterion("admin_id <", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdLessThanOrEqualTo(Integer value) {
            addCriterion("admin_id <=", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdIn(List<Integer> values) {
            addCriterion("admin_id in", values, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdNotIn(List<Integer> values) {
            addCriterion("admin_id not in", values, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdBetween(Integer value1, Integer value2) {
            addCriterion("admin_id between", value1, value2, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdNotBetween(Integer value1, Integer value2) {
            addCriterion("admin_id not between", value1, value2, "adminId");
            return (Criteria) this;
        }

        public Criteria andReasonIsNull() {
            addCriterion("reason is null");
            return (Criteria) this;
        }

        public Criteria andReasonIsNotNull() {
            addCriterion("reason is not null");
            return (Criteria) this;
        }

        public Criteria andReasonEqualTo(String value) {
            addCriterion("reason =", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotEqualTo(String value) {
            addCriterion("reason <>", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonGreaterThan(String value) {
            addCriterion("reason >", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonGreaterThanOrEqualTo(String value) {
            addCriterion("reason >=", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLessThan(String value) {
            addCriterion("reason <", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLessThanOrEqualTo(String value) {
            addCriterion("reason <=", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLike(String value) {
            addCriterion("reason like", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotLike(String value) {
            addCriterion("reason not like", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonIn(List<String> values) {
            addCriterion("reason in", values, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotIn(List<String> values) {
            addCriterion("reason not in", values, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonBetween(String value1, String value2) {
            addCriterion("reason between", value1, value2, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotBetween(String value1, String value2) {
            addCriterion("reason not between", value1, value2, "reason");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andMeanIsNull() {
            addCriterion("mean is null");
            return (Criteria) this;
        }

        public Criteria andMeanIsNotNull() {
            addCriterion("mean is not null");
            return (Criteria) this;
        }

        public Criteria andMeanEqualTo(String value) {
            addCriterion("mean =", value, "mean");
            return (Criteria) this;
        }

        public Criteria andMeanNotEqualTo(String value) {
            addCriterion("mean <>", value, "mean");
            return (Criteria) this;
        }

        public Criteria andMeanGreaterThan(String value) {
            addCriterion("mean >", value, "mean");
            return (Criteria) this;
        }

        public Criteria andMeanGreaterThanOrEqualTo(String value) {
            addCriterion("mean >=", value, "mean");
            return (Criteria) this;
        }

        public Criteria andMeanLessThan(String value) {
            addCriterion("mean <", value, "mean");
            return (Criteria) this;
        }

        public Criteria andMeanLessThanOrEqualTo(String value) {
            addCriterion("mean <=", value, "mean");
            return (Criteria) this;
        }

        public Criteria andMeanLike(String value) {
            addCriterion("mean like", value, "mean");
            return (Criteria) this;
        }

        public Criteria andMeanNotLike(String value) {
            addCriterion("mean not like", value, "mean");
            return (Criteria) this;
        }

        public Criteria andMeanIn(List<String> values) {
            addCriterion("mean in", values, "mean");
            return (Criteria) this;
        }

        public Criteria andMeanNotIn(List<String> values) {
            addCriterion("mean not in", values, "mean");
            return (Criteria) this;
        }

        public Criteria andMeanBetween(String value1, String value2) {
            addCriterion("mean between", value1, value2, "mean");
            return (Criteria) this;
        }

        public Criteria andMeanNotBetween(String value1, String value2) {
            addCriterion("mean not between", value1, value2, "mean");
            return (Criteria) this;
        }

        public Criteria andMeanCodeIsNull() {
            addCriterion("mean_code is null");
            return (Criteria) this;
        }

        public Criteria andMeanCodeIsNotNull() {
            addCriterion("mean_code is not null");
            return (Criteria) this;
        }

        public Criteria andMeanCodeEqualTo(String value) {
            addCriterion("mean_code =", value, "meanCode");
            return (Criteria) this;
        }

        public Criteria andMeanCodeNotEqualTo(String value) {
            addCriterion("mean_code <>", value, "meanCode");
            return (Criteria) this;
        }

        public Criteria andMeanCodeGreaterThan(String value) {
            addCriterion("mean_code >", value, "meanCode");
            return (Criteria) this;
        }

        public Criteria andMeanCodeGreaterThanOrEqualTo(String value) {
            addCriterion("mean_code >=", value, "meanCode");
            return (Criteria) this;
        }

        public Criteria andMeanCodeLessThan(String value) {
            addCriterion("mean_code <", value, "meanCode");
            return (Criteria) this;
        }

        public Criteria andMeanCodeLessThanOrEqualTo(String value) {
            addCriterion("mean_code <=", value, "meanCode");
            return (Criteria) this;
        }

        public Criteria andMeanCodeLike(String value) {
            addCriterion("mean_code like", value, "meanCode");
            return (Criteria) this;
        }

        public Criteria andMeanCodeNotLike(String value) {
            addCriterion("mean_code not like", value, "meanCode");
            return (Criteria) this;
        }

        public Criteria andMeanCodeIn(List<String> values) {
            addCriterion("mean_code in", values, "meanCode");
            return (Criteria) this;
        }

        public Criteria andMeanCodeNotIn(List<String> values) {
            addCriterion("mean_code not in", values, "meanCode");
            return (Criteria) this;
        }

        public Criteria andMeanCodeBetween(String value1, String value2) {
            addCriterion("mean_code between", value1, value2, "meanCode");
            return (Criteria) this;
        }

        public Criteria andMeanCodeNotBetween(String value1, String value2) {
            addCriterion("mean_code not between", value1, value2, "meanCode");
            return (Criteria) this;
        }

        public Criteria andCrtTimeIsNull() {
            addCriterion("crt_time is null");
            return (Criteria) this;
        }

        public Criteria andCrtTimeIsNotNull() {
            addCriterion("crt_time is not null");
            return (Criteria) this;
        }

        public Criteria andCrtTimeEqualTo(Date value) {
            addCriterion("crt_time =", value, "crtTime");
            return (Criteria) this;
        }

        public Criteria andCrtTimeNotEqualTo(Date value) {
            addCriterion("crt_time <>", value, "crtTime");
            return (Criteria) this;
        }

        public Criteria andCrtTimeGreaterThan(Date value) {
            addCriterion("crt_time >", value, "crtTime");
            return (Criteria) this;
        }

        public Criteria andCrtTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("crt_time >=", value, "crtTime");
            return (Criteria) this;
        }

        public Criteria andCrtTimeLessThan(Date value) {
            addCriterion("crt_time <", value, "crtTime");
            return (Criteria) this;
        }

        public Criteria andCrtTimeLessThanOrEqualTo(Date value) {
            addCriterion("crt_time <=", value, "crtTime");
            return (Criteria) this;
        }

        public Criteria andCrtTimeIn(List<Date> values) {
            addCriterion("crt_time in", values, "crtTime");
            return (Criteria) this;
        }

        public Criteria andCrtTimeNotIn(List<Date> values) {
            addCriterion("crt_time not in", values, "crtTime");
            return (Criteria) this;
        }

        public Criteria andCrtTimeBetween(Date value1, Date value2) {
            addCriterion("crt_time between", value1, value2, "crtTime");
            return (Criteria) this;
        }

        public Criteria andCrtTimeNotBetween(Date value1, Date value2) {
            addCriterion("crt_time not between", value1, value2, "crtTime");
            return (Criteria) this;
        }

        public Criteria andBillCodeIsNull() {
            addCriterion("bill_code is null");
            return (Criteria) this;
        }

        public Criteria andBillCodeIsNotNull() {
            addCriterion("bill_code is not null");
            return (Criteria) this;
        }

        public Criteria andBillCodeEqualTo(String value) {
            addCriterion("bill_code =", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeNotEqualTo(String value) {
            addCriterion("bill_code <>", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeGreaterThan(String value) {
            addCriterion("bill_code >", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeGreaterThanOrEqualTo(String value) {
            addCriterion("bill_code >=", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeLessThan(String value) {
            addCriterion("bill_code <", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeLessThanOrEqualTo(String value) {
            addCriterion("bill_code <=", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeLike(String value) {
            addCriterion("bill_code like", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeNotLike(String value) {
            addCriterion("bill_code not like", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeIn(List<String> values) {
            addCriterion("bill_code in", values, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeNotIn(List<String> values) {
            addCriterion("bill_code not in", values, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeBetween(String value1, String value2) {
            addCriterion("bill_code between", value1, value2, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeNotBetween(String value1, String value2) {
            addCriterion("bill_code not between", value1, value2, "billCode");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andHandleFeeFlagIsNull() {
            addCriterion("handle_fee_flag is null");
            return (Criteria) this;
        }

        public Criteria andHandleFeeFlagIsNotNull() {
            addCriterion("handle_fee_flag is not null");
            return (Criteria) this;
        }

        public Criteria andHandleFeeFlagEqualTo(String value) {
            addCriterion("handle_fee_flag =", value, "handleFeeFlag");
            return (Criteria) this;
        }

        public Criteria andHandleFeeFlagNotEqualTo(String value) {
            addCriterion("handle_fee_flag <>", value, "handleFeeFlag");
            return (Criteria) this;
        }

        public Criteria andHandleFeeFlagGreaterThan(String value) {
            addCriterion("handle_fee_flag >", value, "handleFeeFlag");
            return (Criteria) this;
        }

        public Criteria andHandleFeeFlagGreaterThanOrEqualTo(String value) {
            addCriterion("handle_fee_flag >=", value, "handleFeeFlag");
            return (Criteria) this;
        }

        public Criteria andHandleFeeFlagLessThan(String value) {
            addCriterion("handle_fee_flag <", value, "handleFeeFlag");
            return (Criteria) this;
        }

        public Criteria andHandleFeeFlagLessThanOrEqualTo(String value) {
            addCriterion("handle_fee_flag <=", value, "handleFeeFlag");
            return (Criteria) this;
        }

        public Criteria andHandleFeeFlagLike(String value) {
            addCriterion("handle_fee_flag like", value, "handleFeeFlag");
            return (Criteria) this;
        }

        public Criteria andHandleFeeFlagNotLike(String value) {
            addCriterion("handle_fee_flag not like", value, "handleFeeFlag");
            return (Criteria) this;
        }

        public Criteria andHandleFeeFlagIn(List<String> values) {
            addCriterion("handle_fee_flag in", values, "handleFeeFlag");
            return (Criteria) this;
        }

        public Criteria andHandleFeeFlagNotIn(List<String> values) {
            addCriterion("handle_fee_flag not in", values, "handleFeeFlag");
            return (Criteria) this;
        }

        public Criteria andHandleFeeFlagBetween(String value1, String value2) {
            addCriterion("handle_fee_flag between", value1, value2, "handleFeeFlag");
            return (Criteria) this;
        }

        public Criteria andHandleFeeFlagNotBetween(String value1, String value2) {
            addCriterion("handle_fee_flag not between", value1, value2, "handleFeeFlag");
            return (Criteria) this;
        }

        public Criteria andHandleFeeIsNull() {
            addCriterion("handle_fee is null");
            return (Criteria) this;
        }

        public Criteria andHandleFeeIsNotNull() {
            addCriterion("handle_fee is not null");
            return (Criteria) this;
        }

        public Criteria andHandleFeeEqualTo(BigDecimal value) {
            addCriterion("handle_fee =", value, "handleFee");
            return (Criteria) this;
        }

        public Criteria andHandleFeeNotEqualTo(BigDecimal value) {
            addCriterion("handle_fee <>", value, "handleFee");
            return (Criteria) this;
        }

        public Criteria andHandleFeeGreaterThan(BigDecimal value) {
            addCriterion("handle_fee >", value, "handleFee");
            return (Criteria) this;
        }

        public Criteria andHandleFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("handle_fee >=", value, "handleFee");
            return (Criteria) this;
        }

        public Criteria andHandleFeeLessThan(BigDecimal value) {
            addCriterion("handle_fee <", value, "handleFee");
            return (Criteria) this;
        }

        public Criteria andHandleFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("handle_fee <=", value, "handleFee");
            return (Criteria) this;
        }

        public Criteria andHandleFeeIn(List<BigDecimal> values) {
            addCriterion("handle_fee in", values, "handleFee");
            return (Criteria) this;
        }

        public Criteria andHandleFeeNotIn(List<BigDecimal> values) {
            addCriterion("handle_fee not in", values, "handleFee");
            return (Criteria) this;
        }

        public Criteria andHandleFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("handle_fee between", value1, value2, "handleFee");
            return (Criteria) this;
        }

        public Criteria andHandleFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("handle_fee not between", value1, value2, "handleFee");
            return (Criteria) this;
        }

        public Criteria andHandleFeeUnitIsNull() {
            addCriterion("handle_fee_unit is null");
            return (Criteria) this;
        }

        public Criteria andHandleFeeUnitIsNotNull() {
            addCriterion("handle_fee_unit is not null");
            return (Criteria) this;
        }

        public Criteria andHandleFeeUnitEqualTo(String value) {
            addCriterion("handle_fee_unit =", value, "handleFeeUnit");
            return (Criteria) this;
        }

        public Criteria andHandleFeeUnitNotEqualTo(String value) {
            addCriterion("handle_fee_unit <>", value, "handleFeeUnit");
            return (Criteria) this;
        }

        public Criteria andHandleFeeUnitGreaterThan(String value) {
            addCriterion("handle_fee_unit >", value, "handleFeeUnit");
            return (Criteria) this;
        }

        public Criteria andHandleFeeUnitGreaterThanOrEqualTo(String value) {
            addCriterion("handle_fee_unit >=", value, "handleFeeUnit");
            return (Criteria) this;
        }

        public Criteria andHandleFeeUnitLessThan(String value) {
            addCriterion("handle_fee_unit <", value, "handleFeeUnit");
            return (Criteria) this;
        }

        public Criteria andHandleFeeUnitLessThanOrEqualTo(String value) {
            addCriterion("handle_fee_unit <=", value, "handleFeeUnit");
            return (Criteria) this;
        }

        public Criteria andHandleFeeUnitLike(String value) {
            addCriterion("handle_fee_unit like", value, "handleFeeUnit");
            return (Criteria) this;
        }

        public Criteria andHandleFeeUnitNotLike(String value) {
            addCriterion("handle_fee_unit not like", value, "handleFeeUnit");
            return (Criteria) this;
        }

        public Criteria andHandleFeeUnitIn(List<String> values) {
            addCriterion("handle_fee_unit in", values, "handleFeeUnit");
            return (Criteria) this;
        }

        public Criteria andHandleFeeUnitNotIn(List<String> values) {
            addCriterion("handle_fee_unit not in", values, "handleFeeUnit");
            return (Criteria) this;
        }

        public Criteria andHandleFeeUnitBetween(String value1, String value2) {
            addCriterion("handle_fee_unit between", value1, value2, "handleFeeUnit");
            return (Criteria) this;
        }

        public Criteria andHandleFeeUnitNotBetween(String value1, String value2) {
            addCriterion("handle_fee_unit not between", value1, value2, "handleFeeUnit");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}